package com.ctrip.ec.api.admin.common;

/**
 * Created by jiangzy on 2018/7/25.
 */
public enum ResponseStatus {

    SUCCESS("SUCCESS",0),
    EXCEPTION("EXCEPTION",-1),
    VALIDATEERROR("VALIDATEERROR",3001),
    Unauthorized("Unauthorized",4001);

    private  String name;
    private  int id;
    ResponseStatus(String name,int id){
        this.name=name;
        this.id = id;
    }

    public  int getId(){
        return id;
    }

    public  String getName(){
        return name;
    }
}
